package com.tuo51.foudation.utils;

import com.matt.commons.dto.sso.StaffDTO;

import java.util.List;

public class StaffDTOUtils {
    public static StaffDTO matchOf(String id, List<StaffDTO> staffDTOList){
        return staffDTOList.stream().filter(o->o.getId().equals(id)).findAny().get();
    }
}
